package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.entity.User;

import java.util.List;

/**
 * @Name UserService
 * @Author BaiXin
 * @Date 2022-11-03 18:19
 */
public interface UserService extends IService<User> {

    /**
     * 检查手机号是否注册，如果没有添加
     * @param phone
     * @return
     */
    User checkAndRegisterUser(String phone);
}